﻿{template 'header', $module}
<link rel="stylesheet" type="text/css" href="{DT_STATIC}{$MODULE[2][moduledir]}/image/index.css"/>
<div id="warn">
{if $_groupid == 4}
	<div class="warn">Dear Member, Your account<span class="f_red f_b">Being reviewed..</span>，Some features of this site and services may be subject to certain restrictions on the use，{if $MOD[checkuser]==2}<a href="send.php?action=check" class="l">Please verify your e-mail here</a>，The system will automatically audit{else}Please wait while site audit<br/>Comprehensive business information helps to get the trust of others, make potential business partners, access to business opportunities and increase the probability of the system through the audit&nbsp;&nbsp;<a href="edit.php?tab=2" class="t f_b">Now go perfect</a>{/if}</div>
{/if}
{if $_groupid > 5 && !$_edittime}
	<div class="warn">The Company has not been perfect details! Comprehensive business information helps to get the trust of others, make potential business partners, access to business opportunities&nbsp;&nbsp;<a href="edit.php?tab=2" class="t f_b">Now go perfect</a></div>
{/if}
{if $vip && $havedays < 11}
	<div class="warn">Dear{$MG[groupname]}，Your{VIP}Services will be <strong class="f_red">{$havedays}</strong> Days after the expiration, in order not to affect your normal use, please renew as soon as possible。&nbsp;&nbsp;<a href="renew.php" class="t f_b">Click renewals</a></div>
{/if}
</div>
<table cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td valign="top">
	<div class="i_info">
	<ul>
	{if $MOD[vmember]}
	<li>
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/{if $validated}v{else}u{/if}_member.gif" width="16" height="16" title="{if $validated}Has passed{$validator}Authenticate{else}Not certified{/if}" align="absmiddle"/> Authenticate：
	{if $MOD[vemail]}
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/{if $vemail}v{else}u{/if}_email.gif" width="16" height="16" title="{if $vemail}Has passed{else}Did not pass{/if}Mail Authentication" align="absmiddle"/> <a href="validate.php?action=email" class="l">Mail</a> &nbsp;
	{/if}
	{if $MOD[vmobile]}
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/{if $vmobile}v{else}u{/if}_mobile.gif" width="16" height="16" title="{if $vmobile}Has passed{else}Did not pass{/if}Mobile Authentication" align="absmiddle"/> <a href="validate.php?action=mobile" class="l">Phone</a> &nbsp;
	{/if}
	{if $MOD[vbank]}
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/{if $vbank}v{else}u{/if}_bank.gif" width="16" height="16" title="{if $vbank}Has passed{else}Did not pass{/if}Bank account Certification" align="absmiddle"/> <a href="validate.php?action=bank" class="l">Bank</a> &nbsp;
	{/if}
	{if $MOD[vtruename]}
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/{if $vtruename}v{else}u{/if}_truename.gif" width="16" height="16" title="{if $vtruename}Has passed{else}Did not pass{/if}Real name certification" align="absmiddle"/> <a href="validate.php?action=truename" class="l">Upload</a> &nbsp;
	{/if}
	{if $MOD[vcompany] && $groupid > 5}
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/{if $vcompany}v{else}u{/if}_company.gif" width="16" height="16" title="{if $vcompany}Has passed{else}Did not pass{/if}Company Certification" align="absmiddle"/> <a href="validate.php?action=company" class="l">Company</a>
	{/if}
	</li>
	{/if}
	<li>
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/ico_message.gif" width="16" height="16" alt="" align="absmiddle"/> Letter：
	<strong class="f_red">{$_message}</strong> Seal <a href="message.php" class="l">Unread Station Letters</a>
	&nbsp;&nbsp;
	<a href="message.php?typeid=1" class="l">Inquiry</a> | 
	<a href="message.php?typeid=2" class="l">Quoted price</a> | 
	<a href="message.php?typeid=3" class="l">Leave a message</a> | 
	<a href="message.php?typeid=4" class="l">Messenger</a> | 
	<a href="message.php?action=send" class="l">Letters</a>
	</li>
	<li>
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/ico_member.gif" width="16" height="16" alt="" align="absmiddle"/> {$DT[money_name]}：
	<strong class="f_red px14">{$_money}</strong> {$DT[money_unit]}Available {if $locking}<span class="f_gray">({$locking}{$DT[money_unit]}Locking)</span>{/if}
	&nbsp;&nbsp;
	<a href="record.php" class="l">{$DT[money_name]}Running water</a> | 
	<a href="cash.php" class="l">Withdraw</a> | 
	<a href="charge.php?action=pay" target="_blank"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_charge.gif" width="40" height="18" alt="" align="absmiddle"/></a>
	</li>
	<li>
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/ico_credit.gif" width="16" height="16" alt="" align="absmiddle"/> {$DT[credit_name]}：
	<strong>{$_credit}</strong>
	&nbsp;&nbsp;
	<a href="credit.php" class="l">{$DT[credit_name]}Record</a> | 
	<a href="credit.php?action=buy" class="l">Buy{$DT[credit_name]}</a> | 
	<a href="credit.php?action=invite" class="l">Earn promotion{$DT[credit_name]}</a>
	{if $MOD[credit_exchange]}| <a href="credit.php?action=exchange" class="l">{$DT[credit_name]}Exchange</a>{/if}
	{if $EXT[gift_enable]}| <a href="{$EXT[gift_url]}" class="l" target="_blank">REWARDS</a>{/if}
	</li>
	{if $DT[sms] && $MG[sms]}
	<li>
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/ico_sms.gif" width="16" height="16" alt="" align="absmiddle"/> SMS：
	<strong>{$_sms}</strong> Article available
	&nbsp;&nbsp;
	<a href="sms.php?action=add" class="l">Send</a> | 
	<a href="sms.php?action=buy" class="l">Buy</a> | 
	<a href="sms.php?action=record" class="l">Receive Record</a> | 
	<a href="sms.php?action=send" class="l">Send records</a> | 
	<a href="sms.php" class="l">SMS record</a>
	</li>
	{/if}
	<li>
	<img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/ico_trade.gif" width="16" height="16" alt="" align="absmiddle"/> Order：
	<strong class="f_red">{$trade}</strong>
	&nbsp;&nbsp;
	<a href="trade.php" class="l">Orders received (sold)</a> | 
	<a href="trade.php?action=order" class="l">Issued orders (buy)</a>
	{if isset($MODULE[17])} | <a href="group.php?action=order" class="l">{$MODULE[17][name]}Order</a>{/if}
	{if isset($MODULE[16])} | <a href="{$MODULE[16][linkurl]}cart.php" class="l">Shopping Cart(<script type="text/javascript">document.write(substr_count(get_cookie('cart'), ','));</script>)</a>{/if}
	</li>
	</ul>
	</div>
	<div class="i_quick">
		<div>
			<ul>
				<li><a href="{$DT[file_my]}" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_my.gif" width="32" height="32" alt=""/><br/><span class="f_red">Ads</span></a></li>
				<li><a href="edit.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_edit.gif" width="32" height="32" alt=""/><br/>Perfect information</a></li>
				<li><a href="message.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_message.gif" width="32" height="32" alt=""/><br/>Station Letters</a></li>
				<li><a href="style.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_style.gif" width="32" height="32" alt=""/><br/>Style Template</a></li>
				<li><a href="{$linkurl}" target="_blank" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_home.gif" width="32" height="32" alt=""/><br/><span class="f_red">My shop</span></a></li>

				<li><a href="record.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_record.gif" width="32" height="32" alt=""/><br/>{$DT[money_name]}Record</a></li>
				<li><a href="trade.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_trade.gif" width="32" height="32" alt=""/><br/>Transaction Management</a></li>
				<li><a href="alert.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_alert.gif" width="32" height="32" alt=""/><br/>Trade Shows</a></li>
				<li><a href="friend.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_friend.gif" width="32" height="32" alt=""/><br/>My Friends</a></li>
				<li><a href="favorite.php" class="b"><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/btn_favorite.gif" width="32" height="32" alt=""/><br/>Business Collection</a></li>
			</ul>
		</div>
		<div style="clear:both;"></div>
	</div>
</td>
<td width="8">&nbsp;</td>
<td valign="top" class="i_rt">
	<div class="i_head">
		<strong>Business Notes</strong>
	</div>
	<div class="i_body">
		<div class="i_note">
			<form method="post" action="index.php" onsubmit="return check();">
			<table cellspacing="2" cellpadding="2" width="100%">
			<tr>
			<td colspan="2"><textarea name="note" id="note">{$note}</textarea></td>
			</tr>
			<tr>
			<td><input type="submit" name="submit" value=" More new " class="btn"/></td>
			<td class="f_gray">[Some text memo can be recorded, limited to 1000 words]</td>
			</tr>
			</table>
			</form>
		</div>
	</div>
	<div class="i_head">
		<span class="f_r"><a href="message.php">[More]</a></span>
		<strong>System Messages</strong>
	</div>
	<div class="i_body">
		<div class="i_sys">
			<ul>
			{if $sys}
			{loop $sys $v}
			<li><span class="f_r px11 f_gray">{timetodate($v[addtime], 2)}</span>&nbsp;<a href="message.php?action=show&itemid={$v[itemid]}" title="{$v[title]}">{$v[title]}</a></li>
			{/loop}
			{else}
			<li>&nbsp;No news</li>
			{/if}
			</ul>
		</div>
	</div>
	<div class="i_head">
		<span class="f_r"><a href="edit.php">[Modification]</a></span>
		<strong>My Profile</strong>
	</div>
	<div class="i_body">
		<div class="i_user">
			<table cellpadding="6" cellspacing="0" width="100%">
			{if $_groupid > 5}
			<tr>
			<td class="i_user_l">Company Name</td>
			<td>
			{if $MG[homepage]}
			<a href="{$userurl}" target="_blank" class="l">{$company}</a>
			{else}
			{$company}
			{/if}
			</td>
			</tr>
			{/if}
			{if $support}
			<tr>
			<td class="i_user_l">Customer Service Officer</td>
			<td><img src="{DT_STATIC}{$MODULE[2][moduledir]}/image/support.gif" align="absmiddle"/><a href="support.php" class="l">Click the link</a></td>
			</tr>
			{/if}
			<tr>
			<td class="i_user_l">Username</td>
			<td>{$username}</td>
			</tr>
			{if $MOD[passport]}
			<tr>
			<td class="i_user_l">Pass</td>
			<td>{$passport}</td>
			</tr>
			{/if}
			<tr>
			<td class="i_user_l">Member groups</td>
			<td>{$MG[groupname]}</td>
			</tr>
			<tr>
			<td class="i_user_l">Member ID</td>
			<td>{$userid}</td>
			</tr>
			<tr>
			<td class="i_user_l">Login Time</td>
			<td>{$logintime}{if $DT[login_log]==2}&nbsp;&nbsp;<a href="record.php?action=login" class="l">Login records</a>{/if}</td>
			</tr>
			<tr>
			<td class="i_user_l">Registered</td>
			<td>{$regtime}</td>
			</tr>
			{if $vip}
			<tr>
			<td class="i_user_l">{VIP}Level</td>
			<td><img src="{DT_SKIN}image/vip_{$vip}.gif" alt="{VIP}" title="{VIP}:{$vip}Level"/></td>
			</tr>
			<tr>
			<td class="i_user_l">Service period</td>
			<td>{timetodate($fromtime, 3)} To {timetodate($totime, 3)}</td>
			</tr>
			<tr>
			<td class="i_user_l">Remaining time</td>
			<td><strong>{$havedays}</strong> Day&nbsp;&nbsp;<a href="renew.php" class="l">Renewals</a></td>
			</tr>
			{elseif $groupid>4}
			<tr>
			<td class="i_user_l">Upgrade Membership</td>
			<td>&nbsp;<a href="grade.php"><span class="f_red">Upgrade Now</span></a></td>
			</tr>
			{/if}
			</table>
		</div>
	</div>
</td>
</tr>
</table>
{template 'footer', $module}